<!--{template common/header_simple_start}-->
<!--{template common/header_simple_end}-->
<!--{template common/commer_header}--> 
<div class="bs-container">
<div class="bs-left-container clearfix">
	<ul class="nav-stacked nav-pills">
		<li class="nav-item">
			<a <!--{if !isset($fromid) || $fromid == ''}-->class="nav-link active"<!--{/if}-->href="{MOD_URL}&op=notification">
				<span class="dzz dzz-notifications dzz-noticeicon"></span>
				<span class="notice-text">{lang all_app}</span>
			</a>
		</li>
		<!--{loop $searchcats $val}-->
		<li class="nav-item" data-appid="$val[appid]">
			<a <!--{if $fromid == $val['appid']}-->class="nav-link active"<!--{/if}-->href="{MOD_URL}&op=notification&appid=$val[appid]">
				<img src="$val[appico]">
				<span class="notice-text">$val[appname]</span>
			</a>
		</li>
		<!--{/loop}-->
	</ul>
</div>
<div class=" main-allnotice bs-main-container clearfix">

<div class="panel-container main-allcontent clearfix">
	<!--{if $list}-->
  <div class="panel-heading">
		<!--{if $img}-->
		<img src="$img">
		<!--{else}-->
    <span class="dzz dzz-notifications dzz-allnotice"></span>
		<!--{/if}-->
    <h3>{$tongzhileixing}($count)</h3>
  </div>
	<!--{/if}-->
  <div class="panel-body">
      <ul id="notification-list" class="notification-list list-unstyled u-gutter clearfix"> 
             <!--{if $list}-->
             <!--{loop $list $value}-->
                <li class="card notification-list-item clearfix">

                    <div class="member member-no-menu">
											<a href="user.php?uid=$value[authorid]">
                         {eval echo avatar_block($value[authorid]);}
                      </a>
                    </div>

                    <div class="details">
											<!--{if $value[title]}-->
											<p class="note u-title" >$value[title]</p>
											<!--{/if}-->
											<!--{if $value[note]}-->
											<p class="note u-bottom" >$value[note]</p>
											<!--{else}-->
                      <p class="note u-bottom" >无内容</p>
											<!--{/if}-->
											<!--{if $value[redirecturl]}-->
											<p class="dateline u-bottom" >来源地址:<a href="$value[redirecturl]" target="_blank">$value[redirecturl]</a></p>
											<!--{/if}-->
                      {if !isset($fromid) || is_string($fromid)}
											<div class="note-iconimg">
                        <img src="$value[appico]">
											</div>
											{/if}
                      <p class="dateline u-bottom">$value[dateline]</p>
                    </div>
                </li>
                <!--{/loop}-->
             <!--{else}-->
              <div style="text-align: center;">
              <img src="static/image/common/no_list.png" /><br>
              <span class="no-result-title">{lang noappall_notice}…</span>
              </div>
            <!--{/if}-->
            </ul>

   </div>

</div>
	<div class="all-notice">
  <nav aria-label="Page navigation" class="notice-navigation">
    {$multi}
  </nav>
	</div>
</div>
<script type="text/javascript">
jQuery(window).scroll(function(e) {
	var clientHeight = document.documentElement.clientHeight;
	var scrollHeight =document.documentElement.scrollHeight;
    if(jQuery(window).scrollTop()+clientHeight>scrollHeight-20) jQuery('.js-loadmore').trigger('click');
});
var search_timer=null;
jQuery('.js-search-input').on('keyup',function(e){
	if(search_timer) window.clearTimeout(search_timer);
	search_timer=window.setTimeout(function(){
		document.getElementById('archive_search_form').onsubmit();
	},1000);
});
jQuery('.js-search-addon').on('click',function(){
	if(jQuery(this).find('i').hasClass('fa-remove')){
		jQuery('#archive_search_form .js-search-input').val('');
		document.getElementById('archive_search_form').onsubmit();
	}else{
		document.getElementById('archive_search_form').onsubmit();
	}
	return false;
});
function search_validate(form){
	jQuery('#board_list_archive').load(form.action+'?'+jQuery(form).serialize(),function(){
		if(jQuery('#archive_search_form .js-search-input').val()!=''){
			jQuery('.js-search-addon i').addClass('fa-remove').removeClass('fa-serach');
		}else{
			jQuery('.js-search-addon i').addClass('fa-search').removeClass('fa-remove');
		}
	});
	return false;
}
function OpenApp(){
	return false;
}
if(!_notice) _notice={};
_notice.setIsread=function(){
	return false;
}


</script>
<!--codestrings-->
<!--{template common/footer_simple}--> 
